![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@lightspeed/cirrus-spinner
Advanced tools
Spinner component bundles the progress
icon and makes it spin.
First, make sure you have been through the Getting Started steps of adding Cirrus in your application.
If using Yarn:
yarn add @lightspeed/cirrus-spinner
Or using npm:
npm i -S @lightspeed/cirrus-spinner
Import required styles in your .scss
:
@import '@lightspeed/cirrus-spinner/Spinner.scss';
<Spinner>
Color or Size properties can be any Cirrus token, ex
green-100
(color),xlarge
(size) or any CSS value.
Prop | Type | Description |
---|---|---|
className | string | Custom className to add in addition to the default ones |
name | string | Name of the icon |
size | string | Default 1rem, can be set to any custom value |
color | string | Applied on the svg fill property |
baseColor | string | Applied on the base paths fill property |
baseColor1 | string | Applied on the base-1 path fill property |
baseColor2 | string | Applied on the base-2 path fill property |
import React from 'react';
import Spinner from '@lightspeed/cirrus-spinner';
const MyComponent = () => (
<div>
<Spinner size="large" color="maple-200" />
</div>
);
export default MyComponent;
Type | Class |
---|---|
base | .cr-spinner |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" class="cr-icon cr-icon-spinner cr-spinner" style="width: 1rem; height: 1rem;">
<path class="cr-icon__base cr-icon__base-2" d="M8 16A8 8 0 1 1 8 0a8 8 0 0 1 0 16zm0-3A5 5 0 1 0 8 3a5 5 0 0 0 0 10z" opacity=".3"></path>
<path class="cr-icon__base cr-icon__base-1" d="M8 13a1.5 1.5 0 0 1 0 3A8 8 0 0 1 .323 5.742a1.5 1.5 0 1 1 2.879.846A5 5 0 0 0 8 13z"></path>
</svg>
FAQs
Cirrus Spinner Component
The npm package @lightspeed/cirrus-spinner receives a total of 0 weekly downloads. As such, @lightspeed/cirrus-spinner popularity was classified as not popular.
We found that @lightspeed/cirrus-spinner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.